doc: Document the GDK_BACKEND environment variable
authorBenjamin Otte <otte@redhat.com>
Sat, 12 Feb 2011 21:03:08 +0000 (22:03 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 12 Feb 2011 21:09:58 +0000 (22:09 +0100)
docs/reference/gtk/running.sgml

index 40a70d7ac02e65ac6422075aaf7f62a08dd95b82..74a0a3736b9459a3861b7770afe18e77fcfc8904 100644 (file)
@@ -391,6 +391,34 @@ nevertheless.
   </para>
 </formalpara>
 
+<formalpara>
+  <title><envar>GDK_BACKEND</envar></title>
+
+  <para>
+    If set, selects the GDK backend to use. Selecting a backend requires that GTK is compiled
+    with support for that backend. The following backends can be selected:
+    <variablelist>
+
+      <varlistentry>
+        <term>quartz</term>
+        <listitem><para>Selects the native Quartz backend</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>win32</term>
+        <listitem><para>Selects the native backend for Microsoft Windows</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>x11</term>
+        <listitem><para>Selects the native backend for connecting to X11 servers.</para></listitem>
+      </varlistentry>
+
+    </variablelist>
+    For more information about selecting backends, see the gdk_display_manager_get() function.
+  </para>
+</formalpara>
+
 <formalpara>
   <title><envar>GDK_SYNCHRONIZE</envar></title>